package com.zjcode.cdcer.mapper;

import com.zjcode.cdcer.model.SysDict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysDictMapper {

    List<SysDict> findAllCerDicts();

    List<String> getAllDictType(@Param("parentId") Integer parentId, @Param("key") String key);

    List<SysDict> getAllDetailDictByDictType(@Param("parentId") Integer parentId, @Param("dictType") String dictType);
}
